Automatic Inference of Term Equivalence in Term Rewriting Systems

نویسندگان

  • Marco Comini
  • Luca Torella
چکیده

In this paper we propose a method to automatically infer algebraic property-oriented specifications from Term Rewriting Systems. Namely, having three semantics with suitable properties, given the source code of a TRS we infer a specification which consists of a set of most general equations relating terms that rewrite, for all possible instantiations, to the same set of constructor terms. The semantic-based inference method that we propose can cope with non-constructorbased TRSs, and considers non-ground terms. Particular emphasis is put on avoiding the generation of “redundant” equations that can be a logical consequence of other ones.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

How to Prove Equivalence of Term Rewriting Systems without Induction

A simple method is proposed for testing equivalence in a restricted domain of two given term rewriting systems. By using the Church-Rosser property and the teachability of term rewriting systems, the method allows us to prove equivalence of these systems without the explicit use of induction; this proof usually requires some kind of induction. The method proposed is a general extension of induc...

متن کامل

On Equivalence Transformations for Term Rewriting Systems

This paper proposes some simple methods, based on the Church-Rosser property, for testing the equivalence in a restricted domain of two reduction systems. Using the Church-Rosser property, sufficient conditions for the equivalence of abstract reduction systems are proved. These conditions can be effectively applied to test the equivalence in a restricted domain of term rewriting systems. In add...

متن کامل

Confluence of nearly orthogonal infinitary term rewriting systems

We give a relatively simple coinductive proof of confluence, modulo equivalence of root-active terms, of nearly orthogonal infinitary term rewriting systems. Nearly orthogonal systems allow certain root overlaps, but no non-root overlaps. Using a slightly more complicated method we also show confluence modulo equivalence of hypercollapsing terms. The condition we impose on root overlaps is simi...

متن کامل

Rewrite Techniques for Transitive Relations

We propose inference systems for dealing with transitive relations in the context of resolutiontype theorem proving. These inference mechanisms are based on standard techniques from term rewriting and represent a refinement of chaining methods. We establish their refutational completeness and also prove their compatibility with the usual simplification techniques used in rewrite-based theorem p...

متن کامل

On the Equivalence of Persistent Term Rewriting Systems and Recursive Program Schemes

We introduce Persistent Term Rewriting Systems (PTRSs) by restricting redex-creation during reductions in Orthogonal Term Rewriting Systems (OTRSs 6, 10]). In particular, Recursive (Applicative) Program Schemes (RPSs 4]), considered as TRSs, are persistent. Two PTRSs R and R 0 are syntactically equivalent when any term t has an R-normal form ii it has an R 0-normal form and they coincide. We pr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013